<?php
/* ******************************************************
               ** Example Hook Function **

Please refer to http://wiki.whmcs.com/Hooks for more info

function create_forum_account($vars) {

    $firstname = $vars['firstname'];
    $lastname = $vars['lastname'];
    $email = $vars['email'];

    # Run code to create remote forum account here...

}

add_hook("ClientAdd",1,"create_forum_account");

****************************************************** */
?>